import { Pool } from "cc";
import { createMap } from "./Pool";

export class PoolManager<T> {
    private _poolMap: Record<string, Pool<T>>;

    constructor() {
        this._poolMap = createMap(true);
    }

    public getPool(key: string) {
        const pool = this._poolMap[key];
        return pool;
    }


}